{extend name="base/main" /}
{block name="body"}

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>搜索条件</h5>
        </div>
        <div class="ibox-content">
            <div class="row row-lg">
                <div class="example-wrap">
                    <div class="fixed-table-toolbar">
                        <div class="bars pull-left" style="margin-top:0px;">
                            订单状态：
                            <a href="{:url('Article/add')}" type="button" class="layui-btn">全部</a>
                            <button type="button" class="layui-btn layui-btn-primary">未支付</button>
                            <button type="button" class="layui-btn layui-btn-primary">已支付</button>
                            <button type="button" class="layui-btn layui-btn-primary">已退款</button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row row-lg">
                <div class="example-wrap">
                    <div class="fixed-table-toolbar">
                        <div class="bars pull-left" style="margin-top:0px;">
                            创建时间：
                            <a href="{:url('Article/add')}" type="button" class="layui-btn">全部</a>
                            <button type="button" class="layui-btn layui-btn-primary">昨天</button>
                            <button type="button" class="layui-btn layui-btn-primary">今天</button>
                            <button type="button" class="layui-btn layui-btn-primary">本周</button>
                            <button type="button" class="layui-btn layui-btn-primary">本月</button>
                            <button type="button" class="layui-btn layui-btn-primary">本季度</button>
                            <button type="button" class="layui-btn layui-btn-primary">本年</button>
                            <button type="button" class="layui-btn layui-btn-primary">自定义</button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row row-lg">
                <div class="example-wrap">
                    <div class="fixed-table-toolbar">
                        <div class="bars pull-left" style="margin-top:0px;">
                            订单类型：
                            <a href="{:url('Article/add')}" type="button" class="layui-btn">全部</a>
                            <button type="button" class="layui-btn layui-btn-primary">普通订单</button>
                            <button type="button" class="layui-btn layui-btn-primary">拼团订单</button>
                            <button type="button" class="layui-btn layui-btn-primary">礼物订单</button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row row-lg">
                <div class="example-wrap">
                    <div class="fixed-table-toolbar">
                        <div class="bars pull-left" style="margin-top:0px;">
                            搜索内容：
                            <div class="layui-input-block">
                                <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入搜索内容" class="layui-input">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">

        <div class="layui-row">
            <div class="layui-col-xs3">
                <div class="grid-demo grid-demo-bg1">
                    <div class="ibox-title">
                        <h5>订单数量</h5>
                    </div>
                    <div class="ibox-title">
                        <h5>763</h5>
                    </div>
                </div>
            </div>
            <div class="layui-col-xs3">
                <div class="grid-demo grid-demo-bg1">
                    <div class="ibox-title">
                        <h5>订单数量</h5>
                    </div>
                    <div class="ibox-title">
                        <h5>763</h5>
                    </div>
                </div>
            </div>
            <div class="layui-col-xs3">
                <div class="grid-demo grid-demo-bg1">
                    <div class="ibox-title">
                        <h5>订单数量</h5>
                    </div>
                    <div class="ibox-title">
                        <h5>763</h5>
                    </div>
                </div>
            </div>
            <div class="layui-col-xs3">
                <div class="grid-demo grid-demo-bg1">
                    <div class="ibox-title">
                        <h5>订单数量</h5>
                    </div>
                    <div class="ibox-title">
                        <h5>763</h5>
                    </div>
                </div>
            </div>
            <div class="layui-col-xs3">
                <div class="grid-demo grid-demo-bg1">
                    <div class="ibox-title">
                        <h5>订单数量</h5>
                    </div>
                    <div class="ibox-title">
                        <h5>763</h5>
                    </div>
                </div>
            </div>
            <div class="layui-col-xs3">
                <div class="grid-demo grid-demo-bg1">
                    <div class="ibox-title">
                        <h5>订单数量</h5>
                    </div>
                    <div class="ibox-title">
                        <h5>763</h5>
                    </div>
                </div>
            </div>
        <div class="layui-col-xs3">
                <div class="grid-demo grid-demo-bg1">
                    <div class="ibox-title">
                        <h5>订单数量</h5>
                    </div>
                    <div class="ibox-title">
                        <h5>763</h5>
                    </div>
                </div>
            </div>
        </div>

    </div>
 </div>

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>新闻管理 / 新闻列表</h5>
        </div>
        <div class="ibox-content">
            <div class="row row-lg">
                <div class="example-wrap">
                    <div class="fixed-table-toolbar">
                        <div class="bars pull-left" style="margin-top:0px;">
                            <a href="{:url('Storeorder/remark')}" type="button" class="layui-btn">11</a>
                        </div>
                    </div>
                    <div class="example">
                        <table class="table table-hover">
                            <thead>
                            <tr>
                                <th><input type="checkbox" class="i-checks check-all"></th>
                                <th>订单号</th>
                                <th>用户信息</th>
                                <th>商品信息</th>
                                <th>推广人</th>
                                <th>上级推广人</th>
                                <th>实际支付</th>
                                <th>支付状态</th>
                                <th>订单状态</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            {volist name="data" id="vo"}
                            <tr>
                                <td><input type="checkbox" class="i-checks ids" name="id[]" value="{$vo.id}"/></td>
                                <td>{$vo.order_id}</td>
                                <td>{$vo.real_name}</td>
                                <td>{$vo.type}</td>
                                <td>{$vo.spread_uid}</td>
                                <td>{$vo.spread_uid}</td>
                                <td>{$vo.pay_price}</td>
                                <td>{$vo.paid}</td>
                                <td>{$vo.status}</td>
                                <td>
                                    <div class="layui-form-item">
                                        <div class="layui-input-block">
                                            <a href="{:url('Storeorder/edit',['id'=>$vo['id']])}" class="btn btn-info btn-xs"></i> 修改订单 </a>
                                            <a href="{:url('Storeorder/remark',['id'=>$vo['id']])}" class="btn btn-info btn-xs"></i> 订单备注 </a>
                                            <a href="{:url('Storeorder/record',['id'=>$vo['id']])}" class="btn btn-info btn-xs"></i> 订单记录 </a>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            {/volist}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>  
        </div>
    </div>
</div>
{/block}